package com.android.bonn.fast.net.interceptor;


import androidx.collection.SimpleArrayMap;

import okhttp3.Interceptor;

/**
 * User: HuangYunLin(283857754@qq.com)
 * Date: 2016-05-31
 * Time: 22:19
 * FIXME
 */
public abstract class GlobalParamInterceptor implements Interceptor {

    public interface OnGetGlobalParamsListener {
        SimpleArrayMap<String, String> getGlobalParams();
    }

    protected OnGetGlobalParamsListener onGetGlobalParamsListener;

    public void setOnGetGlobalParamsListener(OnGetGlobalParamsListener onGetGlobalParamsListener) {
        this.onGetGlobalParamsListener = onGetGlobalParamsListener;
    }
}
